package com.mlog.njyjy.ndop.share.zabbix.factory;

/**
 * TODO
 * @author alex
 * @version v1.0 2020/6/29
 */
public class ZabbixClientConfig {

    private String apiUri;

    private String username;

    private String password;

    private Integer connTimeout;

    private Integer readTimeout;

    private boolean showRequestDetail;

    public String getApiUri() {
        return apiUri;
    }

    public ZabbixClientConfig setApiUri(String apiUri) {
        this.apiUri = apiUri;
        return this;
    }

    public String getUsername() {
        return username;
    }

    public ZabbixClientConfig setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public ZabbixClientConfig setPassword(String password) {
        this.password = password;
        return this;
    }

    public int getConnTimeout() {
        return connTimeout;
    }

    public ZabbixClientConfig setConnTimeout(int connTimeout) {
        this.connTimeout = connTimeout;
        return this;
    }

    public int getReadTimeout() {
        return readTimeout;
    }

    public ZabbixClientConfig setReadTimeout(int readTimeout) {
        this.readTimeout = readTimeout;
        return this;
    }

    public boolean isShowRequestDetail() {
        return showRequestDetail;
    }

    public ZabbixClientConfig setShowRequestDetail(boolean showRequestDetail) {
        this.showRequestDetail = showRequestDetail;
        return this;
    }
}
